#include <iostream>
using namespace std;
class Date
{
public:
    Date()
        : day(0)
        , month(0)
        , year(0)
    {}
    ~Date()
    {
        day=month=year=1;
    }
private:
    int day;
    int month;
    int year;
};
int main()
{
    Date* p=new Date;
    delete p;
    return 0;
}